package com.sskj.gocoin.m.bean.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/4/3.
 */

public class NewStock implements Serializable {


    /**
     * name : BTC_USDT
     * code : btc_usdt
     * price : 8185.7558
     * buy : 8183.9025
     * sell : 8189.5022
     * date : 2018-07-26
     * time : 10:28:35
     * open : 8112.0672
     * high : 8331.7798
     * low : 8075.1556
     * close : 8185.7558
     * volume : 84854933.9900
     * change : 73.688599999999
     * changeRate : 0.91%
     */

    private String name;
    private String code;
    private String price;
    private String buy;
    private String sell;
    private String date;
    private String time;
    private float open;
    private float high;
    private float low;
    private float close;
    private double volume;
    private float change;
    private String changeRate;
    private boolean isUpdate;
    private boolean isShow;  // 长连接推送时，APP端最新价钱颜色显示，true--->涨-->红色

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean show) {
        isShow = show;
    }

    public String getCnyPrice() {
        return cnyPrice;
    }

    public void setCnyPrice(String cnyPrice) {
        this.cnyPrice = cnyPrice;
    }

    private String cnyPrice;  // 人民币

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getBuy() {
        return buy;
    }

    public void setBuy(String buy) {
        this.buy = buy;
    }

    public String getSell() {
        return sell;
    }

    public void setSell(String sell) {
        this.sell = sell;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public float getOpen() {
        return open;
    }

    public void setOpen(float open) {
        this.open = open;
    }

    public float getHigh() {
        return high;
    }

    public void setHigh(float high) {
        this.high = high;
    }

    public float getLow() {
        return low;
    }

    public void setLow(float low) {
        this.low = low;
    }

    public float getClose() {
        return close;
    }

    public void setClose(float close) {
        this.close = close;
    }

    public double getVolume() {
        return volume;
    }

    public void setVolume(double volume) {
        this.volume = volume;
    }

    public float getChange() {
        return change;
    }

    public void setChange(float change) {
        this.change = change;
    }

    public String getChangeRate() {
        return changeRate;
    }

    public void setChangeRate(String changeRate) {
        this.changeRate = changeRate;
    }

    public boolean isUpdate() {
        return isUpdate;
    }

    public void setUpdate(boolean update) {
        isUpdate = update;
    }
}
